package com.wwwarehouse.carddesk.bean.teambean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * @创建者 chenchao.
 * @创建时间 2017/11/21 9:34
 * @描述 ${TODO}
 */

public class BusinessUnitsBean implements Parcelable {

    /**
     * buIcon : 测试内容ipmx
     * buId : 86322
     * buName : 测试内容u7u1
     */

    private String buIcon;
    private String    buId;
    private String buName;

    public String getBuIcon() {
        return buIcon;
    }

    public void setBuIcon(String buIcon) {
        this.buIcon = buIcon;
    }

    public String getBuId() {
        return buId;
    }

    public void setBuId(String buId) {
        this.buId = buId;
    }

    public String getBuName() {
        return buName;
    }

    public void setBuName(String buName) {
        this.buName = buName;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.buIcon);
        dest.writeString(this.buId);
        dest.writeString(this.buName);
    }

    public BusinessUnitsBean() {
    }

    protected BusinessUnitsBean(Parcel in) {
        this.buIcon = in.readString();
        this.buId = in.readString();
        this.buName = in.readString();
    }

    public static final Parcelable.Creator<BusinessUnitsBean> CREATOR = new Parcelable.Creator<BusinessUnitsBean>() {
        @Override
        public BusinessUnitsBean createFromParcel(Parcel source) {
            return new BusinessUnitsBean(source);
        }

        @Override
        public BusinessUnitsBean[] newArray(int size) {
            return new BusinessUnitsBean[size];
        }
    };
}
